num = 1000000
# type的两个功能：查看一个变量的类型;创建一个类
print(type(num))  # <class 'int'>

# 类名、基类、类属性
Student = type("Student", (object, ), dict(name="type test"))
print(Student.name)
print(Student)

